package com.woniuxy.microsystemserver.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * Auther: yeyang  <br/>
 * Date: 2021/4/20 0020:上午 11:09  <br/>
 * Description:
 */
@Mapper
public interface AppCodeDao {

    @Update("update xiang_rui.app_code set app_code=#{key} where user='fund'")
    int updateFund(String key);

    @Update("update xiang_rui.app_code set app_code=#{key} where user='certification'")
    int updateCertification(String key);

    @Update("update xiang_rui.app_code set app_code=#{key} where user='gold'")
    int updateGold(String key);
}
